﻿using System;
using SystemX.Infrastructure;

namespace SystemX.Web.Infrastructure
{
	public class SWFUploadResponseData:ResponseBase<SWFUploadResponseData>
	{
		/// <summary>
		/// upload callback
		/// </summary>
		public string UploadCallback { get; set; }

		public override SWFUploadResponseData Load(BOMessager msg)
		{
			base.Load(msg);
			if (msg.Context.ContainsKey("UploadCallback")) {
				UploadCallback = msg.Context["UploadCallback"].ToString();
			}
			return this;
		}
	}
}
